const crypto/internal/mlkem768.q
15 uses
crypto/internal/mlkem768 (current package)
mlkem768.go#L42: q = 3329
mlkem768.go#L448: if a >= q {
mlkem768.go#L456: x := a - q
mlkem768.go#L458: x += (x >> 15) * q
mlkem768.go#L468: x := uint16(a - b + q)
mlkem768.go#L481: return fieldReduceOnce(uint16(a - quotient*q))
mlkem768.go#L492: x := uint32(a) * uint32(b-c+q)
mlkem768.go#L514: remainder := dividend - quotient*q
mlkem768.go#L528: quotient += (q/2 - remainder) >> 31 & 1
mlkem768.go#L529: quotient += (q + q/2 - remainder) >> 31 & 1
mlkem768.go#L542: dividend := uint32(y) * q
mlkem768.go#L657: const halfQ = (q + 1) / 2 // ⌈q/2⌋, rounded up per FIPS 203 (DRAFT), Section 2.3
mlkem768.go#L870: if d1 < q {
mlkem768.go#L877: if d2 < q {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |